'fix(load_model): resolve model loading unmatch'#11
Open
Justjustifyjudge wants to merge 1 commit intoTencent:mainfrom
Open
'fix(load_model): resolve model loading unmatch'#11Justjustifyjudge wants to merge 1 commit intoTencent:mainfrom
Justjustifyjudge wants to merge 1 commit intoTencent:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
在无xformer环境下,在autoencoder.py的1102行,会将所有的attn_mode设置为"softmax",而事实上我们只需把"softmax-xformers"设置为softmax即可。
In an environment without xformers, at line 1102 of autoencoder.py, all attn_modewill be set to "softmax". However, in fact, we only need to set "softmax-xformers"to "softmax".
在autoencoder.py的第471行,CrossAttention类没有设计接受layer参数,已修复。
At line 471 of autoencoder.py, the CrossAttentionclass was not designed to accept a layerparameter. This has been fixed.